KEYSTATE()
This command will return an integer value of one if the key specified by the scancode is pressed, otherwise zero will be return. The scancode value is the raw value assigned to the key of the keyboard device and very often is ordered sequentially from the top left of the keyboard to the bottom right.

SYNTAX
Return Value=KEYSTATE(Scancode)

RELATED INFO
Input Commands
Glossary

EXAMPLE
Keyboard Control